<?php $user = Auth::user()->load('frame'); ?>
<div class="ct_left">
    <h2 class="nav-title"><i class="icon"></i>常用项目导航</h2>
    <ul class="tab-nav1" id="tab-nav1">
        <li class="active"><a href="javascript:;">我的桌面</a></li>
        @if(Auth::user()->hasAnyRole(['admin']) || (in_array(Auth::user()->type,[1]) && $user->frame && $user->frame->branch_id==1))
            <li><a href="{{route('client_private')}}">我的客户</a></li>
            <li><a href="{{route('part_list')}}">兼职渠道</a></li>
            <li><a href="{{route('position_self')}}">我的职位</a></li>
            <li><a href="{{route('resume_self')}}">我的简历</a></li>
            <li><a href="{{route('recommend_list')}}">我的offer</a></li>
            <li><a href="{{route('finance_list')}}">我的回款</a></li>
        @endif
    </ul>
</div>
